package demo.spring.boot.atomikos;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by lushun.chen on 2017/3/13.
 *
 * @author lushun.chen
 */
@Controller
@RequestMapping("/")
public class MyAtomikosController {

    @Autowired
    private MyAtomikos myAtomikos;

    @RequestMapping
    public Object demo() {
        return myAtomikos.demo();
    }
}
